#include <iostream>
#include <string>

using namespace std;

template<class nameType, class ageType>

class person {
	public:
		nameType m_Name;
		ageType m_Age;

		person(nameType inputName, ageType inputAge): m_Name(inputName), m_Age(inputAge) {
		}
};

void test1() {
	person<string, int> p1("tom", 18);
	cout << p1.m_Age << endl;
	cout << p1.m_Name << endl;
}

int main() {
	test1();

	return 0;
}